<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>后台管理系统</title>
<link href="<?php echo $_BASE_DIR?>images/themes/default/style.css"
	rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>images/themes/css/core.css"
	rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>images/themes/css/plugin.css"
	rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>uploadify/css/uploadify.css"
	rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="<?php echo $_BASE_DIR?>images/themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->
<style type="text/css">
#header {
	height: 85px
}

#leftside,#container,#splitBar,#splitBarProxy {
	top: 90px
}
</style>
<script src="<?php echo $_BASE_DIR?>javascripts/speedup.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery-1.4.4.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery.cookie.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery.validate.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery.bgiframe.min.js"
	type="text/javascript"></script>
<script
	src="<?php echo $_BASE_DIR?>xheditor/xheditor-1.1.11-zh-cn.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>uploadify/scripts/swfobject.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/jquery.ocupload.min.js"
	type="text/javascript"></script>
<!--
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.core.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.util.date.min.js"
	type="text/javascript"></script>
<script
	src="<?php echo $_BASE_DIR?>javascripts/dwz.validate.method.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.regional.zh.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.barDrag.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.drag.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.tree.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.accordion.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.ui.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.theme.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.switchEnv.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.alertMsg.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.contextmenu.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.navTab.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.tab.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.resize.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.jDialog.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.dialogDrag.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.cssTable.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.stable.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.taskBar.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.ajax.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.pagination.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.database.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.datepicker.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.effects.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.panel.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.checkbox.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.history.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.combox.min.js"
	type="text/javascript"></script>
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.regional.zh.min.js"
	type="text/javascript"></script>-->
<script src="<?php echo $_BASE_DIR?>javascripts/dwz.min.js"
	type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	DWZ.init("<?php echo $_BASE_DIR?>javascripts/dwz.frag.xml", {
		//loginUrl:"loginsub.html", loginTitle:"登录",	// 弹出登录对话框
		loginUrl:"<?php echo url('admin::login')?>",	 // 跳到登录页面
		statusCode:{ok:<?php echo Helper_Dwz::DWZ_STATUS_OK?>, error:<?php echo Helper_Dwz::DWZ_STATUS_ERROR?>, timeout:<?php echo Helper_Dwz::DWZ_STATUS_TIME_OUT?>}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"<?php echo $_BASE_DIR?>images/themes"});
			// 默认新开一个标签页
			navTab.openTab('main', "<?php echo url('admin::main/main')?>",{title:'后台首页'});
			// 默认菜单加载
			$('#navMenu li a').eq(0).click()
		}
	});
});
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="#">Logo</a>
				<ul class="nav">
					<!-- <li id="switchEnvBox"><a href="javascript:">（<span>中文</span>）切换语言</a>
						<ul>
							<li><a href="#">中文</a></li>
							<li><a href="#">English</a></li>
						</ul>
					</li> -->
					<li><a><?php echo $_SESSION['ADMIN_USER']['user_name']?>(<?php echo $_SESSION['ADMIN_USER']['user_dec']?>)</a>
					</li>
					<li><a
						href="<?php echo url('manager/power',array('id'=>$_SESSION['ADMIN_USER']['id']))?>"
						target="dialog">修改密码</a></li>
					<li><a href="<?php echo url('login/loginout')?>">退出</a></li>
				</ul>
				<ul id="themeList" class="themeList">
					<li theme="default" class="default">
						<div class="selected">蓝色</div>
					</li>
					<li theme="green" class="green">
						<div>绿色</div>
					</li>
					<li theme="purple" class="purple">
						<div>紫色</div>
					</li>
					<li theme="silver" class="silver">
						<div>银色</div>
					</li>
					<li theme="azure" class="azure">
						<div>天蓝</div>
					</li>
				</ul>
			</div>
			<div id="navMenu">
				<ul>
				<?php foreach ($top_menus as $item):?>
					<li><a
						href="<?php echo url('menus/sidebar',array('mpid'=>$item->id))?>"><span><?php echo $item->title?>
						</span> </a>
					</li>
					<?php endforeach;?>
				</ul>
			</div>
		</div>
		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div></div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>主菜单</h2>
					<div>收缩</div>
				</div>
				<div class="accordion" fillSpace="sidebar"></div>
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span
										class="home_icon">我的主页</span> </span> </a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div>
					<!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent">
					<div class="page"></div>
				</div>
			</div>
		</div>
		<div id="taskbar" style="left: 0px; display: none;">
			<div class="taskbarContent">
				<ul>
				</ul>
			</div>
			<div class="taskbarLeft taskbarLeftDisabled" style="display: none;">taskbarLeft</div>
			<div class="taskbarRight" style="display: none;">taskbarRight</div>
		</div>
		<div id="splitBar"></div>
		<div id="splitBarProxy"></div>
	</div>
	<div id="footer">
		Copyright &copy; 2010 <a href="#" target="dialog">研发组</a>
	</div>

	<!--拖动效果-->
	<div class="resizable"></div>
	<!--阴影-->
	<div class="shadow" style="width: 508px; top: 148px; left: 296px;">
		<div class="shadow_h">
			<div class="shadow_h_l"></div>
			<div class="shadow_h_r"></div>
			<div class="shadow_h_c"></div>
		</div>
		<div class="shadow_c">
			<div class="shadow_c_l" style="height: 296px;"></div>
			<div class="shadow_c_r" style="height: 296px;"></div>
			<div class="shadow_c_c" style="height: 296px;"></div>
		</div>
		<div class="shadow_f">
			<div class="shadow_f_l"></div>
			<div class="shadow_f_r"></div>
			<div class="shadow_f_c"></div>
		</div>
	</div>
	<!--遮盖屏幕-->
	<div id="alertBackground" class="alertBackground"></div>
	<div id="dialogBackground" class="dialogBackground"></div>
	<div id='background' class='background'></div>
	<div id='progressBar' class='progressBar'>数据加载中，请稍等...</div>
</body>
</html>
